Cevela about COBOL COBOL language - Home - Site Map - About Cevela - MX COBOL    <prev   next>
7.   Statements for data manipulation and memory handling
For more see links to the main provider's on-line documentation.
For MX COBOL see Summary comment + FAQ and How to ..

move

                                                                 60-1
move  Lit-1  to  Dat-2  ...
      Dat-1
    

                                                                 60-2
move  corr  DatG-1  to  DatG-2
    

initialize

                                                                 85-1
initialize  Dat-1  ...
   [replacing
      Category*  by  Dat-2
                     Lit-2
      ...
   ]

Category* alphanumeric numeric alphanumeric-edited numeric-edited alphabetic


02 extensions: there are some other new phrases and categories
MX limitation: phrase alphabetic is not implemented

set

                                                                 60-1
set  Ind-1  ...  to  Ind-2
                     Num-2
                     Dat-2
                     DatI-2
    

                                                                 60-2
set  DatI-1  ...  to  DatI-2
                      Ind-2
    

                                                                 60-3
set  Dat-1  ...  to  Ind-2
    

                                                                 60-4
set  Ind-1  ...  up    by  Num-2
                 down      Dat-2
    

                                                                 85-1
set  Cond-1  ...  to  true
                      false                                      02-1

85 and 02 extensions: there are some other statement formats
MX limitation: phrase false is not implemented

allocate

                                                                 02-1
allocate  memory-specif*  [initialized]  [returning  Dat-2]

memory-specif* / arithm-expression* characters / Dat-1


ec-storage-not-avail
MX limitation: this statement is not implemented but there is ICUGETV system library routine at disposal

free

                                                                 02-1
free  Dat-1  ...

ec-storage-not-alloc
MX limitation: this statement is not implemented but there is ICUFREE system library routine at disposal

validate

                                                                 02-1
validate  Dat-1  ...

ec-data-incompatible ec-validate-.. exceptions
MX limitation: this statement is not implemented

raise

                                                                 02-1
raise
   / exception  Except-1
   / Object-1

Remarks: Except-1, Object-1 are defined in the norm COBOL-02
MX limitation: this statement is not implemented

COBOL language in brief - © Vlastimil Cevela 2006

Date 2006-06-03 - Text Builder 0.65 - Time 20:31:41